Skip to content

delete max elasped duration#787

Open
feiyang3cat wants to merge 1 commit into
masterfrom
OSS-5202
Open

delete max elasped duration#787
feiyang3cat wants to merge 1 commit into
masterfrom
OSS-5202

Conversation

@feiyang3cat
Copy link
Copy Markdown
Contributor

What changed?
delete max_elapsed_duration still in a compatible way in this pr

Why?

  1. we deem this this feature is not necessary given we already have max_skip_duration and its variation in duration calculation adds comprehension efforts than given customers real benefits
  2. this feature also complicates server side implementation to a higher level

Breaking changes
this feature is already implemented and merged in server as this project is huge we merge it feature by feature, so this api should be merged only after the corresponding server pr to delete it merged

Server PR
temporalio/temporal#10387

@feiyang3cat feiyang3cat requested review from a team May 26, 2026 20:34
message TimeSkippingConfig {
reserved 2, 6;
reserved "disable_propagation", "max_target_time";
reserved 2, 5, 6;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nobody uses this feature so far. So I wonder do we need to reserve these fields, and just reuse these numbers?

@@ -625,11 +625,6 @@ message TimeSkippingConfig {
oneof bound {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this oneof field if we only have max_skipped_duration? Are we planning to keep add more option in the future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants